this.BX=this.BX||{};this.BX.Landing=this.BX.Landing||{};this.BX.Landing.Ui=this.BX.Landing.Ui||{};this.BX.Landing.Ui.Panel=this.BX.Landing.Ui.Panel||{};this.BX.Landing.Ui.Panel.Formsettingspanel=this.BX.Landing.Ui.Panel.Formsettingspanel||{};(function(e,t,n,i,s,r,a){"use strict";var o="/bitrix/js/landing/ui/panel/formsettingspanel/content/fields/dist/images/message-icon.svg";function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){babelHelpers.defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){babelHelpers.inherits(s,e);function s(e){var l;babelHelpers.classCallCheck(this,s);l=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(s).call(this,e));l.setEventNamespace("BX.Landing.UI.Panel.FormSettingsPanel.FieldsContent");var c=new n.HeaderCard({title:t.Loc.getMessage("LANDING_FORM_SETTINGS_FIELDS_TITLE")});var g=new i.MessageCard({id:"fieldsMessage",header:t.Loc.getMessage("LANDING_FORM_SETTINGS_FIELDS_MESSAGE_TITLE"),description:t.Loc.getMessage("LANDING_FORM_SETTINGS_FIELDS_MESSAGE_DESCRIPTION"),icon:o,restoreState:true});var p=new r.FormSettingsForm({fields:[new a.FieldsListField({selector:"fields",isLeadEnabled:l.options.isLeadEnabled,dictionary:l.options.dictionary,formOptions:d({},l.options.formOptions),crmFields:d({},l.options.crmFields),items:babelHelpers.toConsumableArray(l.options.formOptions.data.fields)})]});if(!g.isShown()){p.setOffsetTop(-36)}g.subscribe("onClose",(function(){p.setOffsetTop(-36)}));l.addItem(c);l.addItem(g);l.addItem(p);return l}return s}(s.ContentWrapper);e.default=c})(this.BX.Landing.Ui.Panel.Formsettingspanel.Content=this.BX.Landing.Ui.Panel.Formsettingspanel.Content||{},BX.Landing,BX.Landing.UI.Card,BX.Landing.UI.Card,BX.Landing.UI.Panel,BX.Landing.UI.Form,BX.Landing.UI.Field);
//# sourceMappingURL=fields.bundle.map.js